package com.weishu.core.mapper;

import com.weishu.core.entity.JrRentInstallment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.weishu.core.entity.JrSfLoan;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 房租分期申请 Mapper 接口
 * </p>
 *
 * @author zgx
 * @since 2021-10-19
 */
public interface JrRentInstallmentMapper extends BaseMapper<JrRentInstallment> {

    List<JrRentInstallment> getList(JrRentInstallment jrRentInstallment);

    JrRentInstallment selectJrRentInstallment(@Param("id") Long id);

    int updateJrRentInstallment(JrRentInstallment jrRentInstallment);

    int insertJrRentInstallment(JrSfLoan jrSfLoan);
}
